<!DOCTYPE html>
<html lang="en">

{% include 'header.html' %}

<body>

{% include 'navbar.html' %}

    <!-- Page Header -->
    <!-- Set your background image for this header on the line below. -->
    <header class="intro-header" style="background-image: url('/static/img/home-bg.jpg')">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
                    <div class="site-heading">
                        <h1>Benjamin Cane</h1>
                        <span class="subheading">{{ meta['site_shortdesc'] }}</span>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <!-- Main Content -->
    <div class="container">
        <div class="row">
		{% include 'authorinfo.html' %}
	    <hr>
            <div class="col-lg-8 col-md-8">
		            <h2>Latest Articles</h2>
                {% set seq_num = 0 %}
                {% for key in meta['post_ids']|reverse %}
                {% if seq_num <= 5 %}
                <div class="post-preview">
                    <a href="{{ data[key]['full_url'] }}">
                        <h3 class="post-title">
			    {{ data[key]['title'] }}
                        </h3>
                        <h4 class="post-subtitle">
			    {{ data[key]['description'] }}
                        </h4>
                    </a>
                    <p class="post-meta">Written by <a href="https://twitter.com/madflojo">Benjamin Cane</a> at {{ data[key]['date'] }}</p>
                </div>
                {% endif %}
                {% set seq_num = seq_num + 1 %}
                {% endfor %}
            </div>
            <div class="col-lg-4 col-md-4">
              <h2>Books I've Written</h2>
              <div class="well">
                 <a href="https://www.amazon.com/dp/1785283553/3" target="_blank"><h3>Red Hat Enterprise Linux Troubleshooting Guide</h3></a>
                  <center><a href="https://www.amazon.com/dp/1785283553/" target="_blank"><img src="/static/img/RHELTroubleshootingCover.jpg" class="img-responsive" border=0/></a></center>
  <p>Identify, capture and resolve common issues faced by Red Hat Enterprise Linux administrators using best practices and advanced troubleshooting techniques</p>
  <h5>What people are saying:</h5>
  <blockquote>Excellent, excellent resource for practical guidance on how to troubleshoot a wide variety of problems on Red Hat Linux. I particularly enjoyed how the author made sure to provide solid background and practical examples. I have a lot of experience on Red Hat but still came away with some great practical tools to add to my toolkit. - Amazon Review</blockquote>

                 <a href="https://www.amazon.com/dp/1785283553/" class="btn btn-block btn-primary" role="button" target="_blank">Paperback</a> <a href="https://www.amazon.com/Red-Enterprise-Linux-Troubleshooting-Guide-ebook/dp/B016OQOOAK" class="btn btn-block btn-primary" role="button" target="_blank">Kindle</a> <a href="https://www.safaribooksonline.com/library/view/red-hat-enterprise/9781785283550/" class="btn btn-block btn-primary" role="button" target="_blank">Safari Books</a>
              </div>
            </div>
        </div>
    </div>

    <hr>

    <!-- Footer -->
    <footer>
        <div class="container">
            <div class="row">
                <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
		    {% include 'shareaholic.html' %}
                    <p class="copyright text-muted">Copyright &copy; Benjamin Cane 2014 - <a href="mailto:ben@bencane.com">Contact the Author</a></p>
                </div>
            </div>
        </div>
    </footer>

{% include 'js_includes.html' %}
</body>

</html>
